﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CoreWeb.Api
{
    [AttributeUsage(AttributeTargets.Property)]
    public class SignParamAttribute : Attribute
    {
        /// <summary>
        /// 是否忽略
        /// </summary>
        public bool Ignore { get; set; }
        /// <summary>
        /// 格式
        /// </summary>
        public string Format { get; set; }
        public SignParamAttribute(bool ignore)
        {
            Ignore = ignore;
        }

        public SignParamAttribute(string format)
        {
            Format = format;
        }
    }
}
